import request from "@/utils/request.js";

export const getUserInfo = () =>{
	return request({
		url: '/users/getUserInfo'
	});
};
//修改性别 data
export const updateSex = (data) => {
    return request({
        url: '/users/updateSex',
		method: 'PUT',
		data
    });
};